package com.yunb.hyloglog;

import io.swagger.annotations.ApiOperation;
import org.omg.CORBA.PUBLIC_MEMBER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HLLController {

    @Autowired
    HLLService hllService;

    @ApiOperation("获得IP去重后UV统计访问量")
    @RequestMapping(value = "/uv",method = RequestMethod.GET)
    public long useHll(){

        return hllService.uv();
    }
}
